package com.example.mushroom.service;

import com.example.mushroom.entity.Batch;
import java.util.List;

public interface BatchService {
    int insertBatch(Batch batch);
    Batch selectBatchById(Integer id);
    List<Batch> selectAllBatches();
    int updateBatch(Batch batch);
    int deleteBatchById(Integer id);
    List<Batch> selectBatchesByPage(int offset, int limit);
}